package com.coolbi.security.entity;

import java.util.List;

public class Roles extends AuthBaseEntity {

	private static final long serialVersionUID = 1L;

	/** 角色名称 */
	private String name;
	/** 权限*/
	private String authority;
	/** 角色描述 */
	private String description;
	
	/**用户组集合*/
	private List<UserGroup> userGroupList;
	
	/** 角色名称 */
	public String getName() {
		return name;
	}
	/** 角色名称 */
	public void setName(String name) {
		this.name = name;
	}
	
	/** 权限*/
	public String getAuthority() {
		return authority;
	}
	
	/** 权限*/
	public void setAuthority(String authority) {
		this.authority = authority;
	}
	/** 角色描述 */
	public String getDescription() {
		return description;
	}
	/** 角色描述 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**用户组集合*/
	public List<UserGroup> getUserGroupList() {
		return userGroupList;
	}
	/**用户组集合*/
	public void setUserGroupList(List<UserGroup> userGroupList) {
		this.userGroupList = userGroupList;
	}

}
